fromURL

fun fromURL(url: <Error class: unknown class>, originalName: String = "", mimeType: String = "", fileSize: Int): AttachedFile?

Create the instance of AttachedFile from NSURL

Return

AttachedFile The instance of attached file

Parameters

url

NSURL for file

originalName

File name

mimeType

File mimetype

fileSize

Size of file